﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ScriptEditor.Commands
{
    class Command_UnlockContact : Command
    {
        public string contactDataName
        {
            get
            {
                return Value1;
            }
            set
            {
                Value1 = value;
            }
        }
        public Command_UnlockContact()
        {
            CommandType = COMMANDTYPE.UnlockContact;
            contactDataName = "请输入聊天数据名称";
            Wait = true;
        }
        public Command_UnlockContact(string ContactDataName)
        {
            CommandType = COMMANDTYPE.UnlockContact;
            contactDataName = ContactDataName;
            Wait = true;
        }
        public override string ToString()
        {
            return CommandType.ToString() + ":\n" + "解锁聊天数据:" + contactDataName;
        }
    }
}
